//routes/index.js

const express = require('express');
const router = express.Router();
const controller = require('../controllers/index');

router.get('/', controller.getList);
router.post('/add', controller.add);

module.exports = router;